package com.smartplatform.service;

import com.github.pagehelper.PageInfo;
import com.smartplatform.pojo.SysCategory;

import java.util.List;

/**
 * @Author 咕唧
 * @Date 2022/5/30 15:41
 * @Version 1.0
 */
public interface SysCategoryService {
    void addCategory(SysCategory sysCategory);

    PageInfo<SysCategory> findAll(int pageSize, int pageNum);

    void deleteByCId(Long cId);

    void deleteByIds(List<Long> ids,Long status);

    PageInfo<SysCategory> findByNameOrStatus(String categoryName, int status);
}
